﻿using System.ComponentModel.DataAnnotations;
using MarketManagementSystem.Entities.Enums;

namespace MarketManagementSystem.Entities
{
    /// <summary>
    /// 超市会员信息表
    /// </summary>
    public class VIPMembers
    {
        /// <summary>
        /// Status
        /// </summary>
        [Key]
        public long MemberId { get; set; }
        /// <summary>
        /// 会员姓名
        /// </summary>
        public string MemberName { get; set; }
        /// <summary>
        /// 会员积分
        /// </summary>
        public int Points { get; set; }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string PhoneNumber { get; set; }
        /// <summary>
        /// 联系地址
        /// </summary>
        public string Address { get; set; }
        /// <summary>
        /// 开卡时间
        /// </summary>
        public DateTime OpenTime { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public EnumVIPStatus Status { get; set; }
    }
}
